package com.cnware.capture.ui;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.cnware.capture.ui.view.DetailView;
import com.cnware.capture.ui.view.navigator.CaptureNavigator;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		
		layout.addView(CaptureNavigator.VIEW_ID, IPageLayout.LEFT, 0.25f, editorArea);
		
		layout.addStandaloneView(DetailView.VIEW_ID, false, IPageLayout.BOTTOM, 0.75f, editorArea);
	}
}
